An eight-year-old was critically injured and an 11-year-old seriously injured when they were hit while riding their bikes.