Pakistan's government has launched a campaign to register and issue identity cards to millions of Afghans living in the country.