Indian Prime Minister Narendra Modi held talks with Vietnam President To Lam in New Delhi on Wednesday, with agreements signed across sectors ranging from rare earths to payment systems.