Prime Minister Narendra Modi was in Washington on a two-day visit to hold high-stakes talks with President Donald Trump.