The Help to Buy scheme will be extended from its current deadline in 2021 to 2023, the Chancellor of the Exchequer has announced.