As foreign investment in India gets back on track, Modi’s attention has switched to China and Pakistan.