Since then , Bhutto and another former prime minister , Nawaz Sharif , whose government was ousted by Musharraf in a coup in 1999 -- have been trying to reach agreement on a set of demands that would allow their two parties to participate in the ballot .