Changes to capital gains tax are being considered, as the federal government weighs how to respond to housing affordability in its may budget.