A male pedestrian was taken to hospital with leg injuries after a crash in Bradford city centre.