Sharing stage with the Russian President, Modi said that India-Russia relations have continuously strengthened over 70 years irrespective of changes in the world.
Putin and a handful of his colleagues at the St. Petersburg event said that Russian Federation is interested in participating in the Paris agreement but noted that the US must take part in curbing carbon emissions in some form.
"It reminds me of anti-Semitism", Mr Putin said.
The annual event was held at the sprawling conference center on the outskirts of St. Petersburg, Russia's secondlargest city and Putin's hometown.
"Does squabbling over North Atlantic Treaty Organisation help Russian Federation?" he said.
The Russian government has denied USA intelligence agencies' conclusion that it sought to influence the election in Trump's favor, but Russian President Vladimir Putin said on Thursday that some Russian individuals may have acted on their own.
His lawyer said in January that Snowden had the right to remain in Russia until 2020 and to apply for Russian citizenship in 2018.
The Prime Minister said that "New India" skill development is a top priority for India's 800 million strong talented youth.
"It is part of our thinking and for that reason we do not believe in exploitation of the nature".
"We should leave to new generation an earth that is attractive and clean", Modi said.
"In order to fulfil my solemn duty to protect America and its citizens, the United States will withdraw from the Paris climate accord, but being negotiations to re enter, either the Paris accord or an entirely new transaction under terms that are fair to the United States, its businesses, its workers, its people, its taxpayers", Trump said.
His speech earlier, however, was nearly entirely devoted to attracting foreign investment.
"The sky is the limit in India".
Speaking at an economic forum in St. Petersburg, Putin says that the claims contained "nothing concrete, only assumptions".
"Fifty cities need metros, 500 cities need solid waste management and drinking water".
The US is the world's second-largest emitter of carbon, behind only China.
Modi further said India had removed over 1,200 laws that were considered obsolete in today's context.
All this provides vast opportunities for investment, he said. In the manufacturing sector, the Prime Minister highlighted manufacturing of medical device and defence equipments as key areas for foreign investment. In order to help developing countries that would be hit hardest by a switch from cheaper fossil fuels that spew greenhouse gases into the atmosphere, advanced nations like the United States agreed to create a $100 billion fund to provide financial aid. "The world's oldest civilization invites you all", he said.
By distributing 40 crore LED bulbs, India has in the last three years saved energy "which will help the humankind in environment protection", he said.
When pressed for comments on the USA withdrawing from trade deals, Modi said, "India believes in open economy". In Japan, a government official said the country has decided not to join Germany, France and Italy in expressing regret over Trump's decision.
Putin repeated calls for bolstering the country's business climate and cleaning up the judiciary, but critics say the Kremlin leader has failed to make good in the past on pledges to make serious changes. "It will be better".