Microsoft CEO Satya Nadella during his visit to India has announced a $3 billion investment in the country over the next two years.