If you want to clean your carbon or alloy brake surface without harming the material of the rim or influence the braking performance we recommend to clean your rims with acetone.
Its is recommended to clean every once in a while when you are riding with rim brake. When you are riding disc brakes this is of course not necessary.