Khan phones, Modi says terror has to end for peace