India and the United States, the two largest democracies, seem like natural allies. The kinship between their leaders, however, has been a bit of a surprise.