He said in such times, "it's always important for nations to work together and do as much as possible to make our world healthier and free from COVID-19".
"More power to India-US friendship," Modi wrote on Twitter.
On Friday, Trump had tweeted about the cooperation between India and the US on vaccine development and the decision of his administration to donate ventilators to India to help those critically affected by COVID-19.
"I am proud to announce that the United States will donate ventilators to our friends in India. We stand with India and @narendramodi during this pandemic," Trump had said.
"We're also cooperating on vaccine development. Together we will beat the invisible enemy," the US President said.
On Wednesday, the Prime Minister's Citizen Assistance and Relief in Emergency Situations (PM CARES) Fund Trust had decided to allocate Rs 3,100 crore for fight against COVID-19.
Out of Rs 3,100 crore, approximately Rs 2,000 crore will be earmarked for purchase of ventilators and Rs 100 crore to support vaccine development.