Barclays could pay out up to £12.5 million in compensation to customers affected by technology outages over the last two years, a new letter to MPs has revealed.