Pakistani Prime Minister Nawaz Sharif called India's Narendra Modi on Friday to congratulate him on his party's landslide general election win.