Long limited to domestic work, some of India’s biggest firms are expanding beyond its borders.