Donald Trump said he would boost intelligence sharing with India in the battle against Islamic militants.