After pouring more than $5 billion dollars into India over the past three years, the company has run into trouble in recent weeks for selling products that have angered many Indians. Two weeks ago, Amazon was forced into a hasty apology for selling a doormat bearing the Indian flag.