Tech giants Amazon and Microsoft have announced a combined $52.5bn (£39.4bn) investment plan for India over the coming years.