India, China can't afford to have differences on terror, PM Narendra Modi tells Xi Jinping