Prime Minister Narendra Modi has paid tribute to Indian soldiers killed in the first world war in Haifa, Israel.