Narendra Modi has been voted leader of the alliance led by his Bharatiya Janata Party (BJP), which is now likely to stake claim to establish the next government.