A Bradford man who took on a 24-hour treadmill challenge in the centre of Bradford has raised more than £1,000 for charity.