Inflation is putting pressure on the budgets of retirees with the amount of money they need to spend for a comfortable retirement rising.