The British Beer and Pub Association said the average cost of a pint in the UK is expected to rise by around 21p as a result.