Pakistan plans to create a legal framework for cryptocurrency trading in a bid to lure international investment.