Many different things can be causing this from low fluid level in the reservoir, to a wiring harness, speed sensors or ABS sensors at the wheels. I'd take a good look around the wheels you did the brakes on and check the sensors for correct mounting/connections and make sure no brake dust covered them up.