Indian Prime Minister Narendra Modi is set to secure a third consecutive term in office with the ruling National Democratic Alliance, a coalition led by his Bharatiya Janata Party, heading for victory in the country's general election, but with a reduced majority.