More than two million would-be home buyers have been pushed out of the market because of rising home prices and mortgage rates, according to a new report.