The typical price of 1 kWh of electricity about a year ago was around 15p. The shortage of gas to generate electricity, largely due to the war in Ukraine, has pushed up the wholesale price of gas enormously. (At one point is was six times what it had been a years earlier, although the price has fallen back somewhat since then).
Ofgem caps the price that energy suppliers can charge for electricity. However, because wholesale prices rose so unexpectedly, many energy suppliers ended up making a loss on selling electricity, which is why around 40 of them went bust.
The current maximum price that a customer will pay for electricity is 34p per kWh which, as you say, is more than double what it was a year ago. However 34p per kWh isn't the maximum price that energy suppliers can actually charge (and, indeed, what they all need to charge just to stay in business). That figure, set by Ofgem, is 67p per kWh. So although customers only pay 34p for each kilowatt-hour, the goverment has to pay the remaining 33p.
The government support is going to reduce in the forthcoming financial year, meaning that bills will probably rise by about 20% from their current levels next year.
There are currently no plans for government support to continue in the following financial year though. So, unless wholesale prices fall dramatically, we'll all be paying at least 67p per kWh in two years time. That means that our bills in two year's time will be roughly DOUBLE what we're currently paying.