Japan and India agree several high-profile deals including on high-speed rail, defence technology and civil nuclear cooperation, Indian Prime Minister Narendra Modi says in New Delhi.