The same spray bottle of isopropyl alcohol used to clean my human interface devices is also used to clean the brake pads and braking surface on my bike.
Soap, degreasers, and similar cleaners are best avoided on these components. They can leave residue that decrease braking performance and causes squealing (thus diminishing the all important bike ninja factor). Spraying the brake pad with isopropyl alcohol and wiping it off with a clean rag is usually all that’s needed. Sometimes I’ll hit the pads with a Scotch-Brite Scour Pad after spraying them.
The braking surface on the rims is cleaned the same way: spray with alcohol, wipe with rag. Occasionally, if the wheels are especially dirty, I will break out the big guns in the form of my all-purpose cleaner. Before spraying the rim with this I remove the wheel from the bike because I don’t want to get the cleaner on my brake pads. After spraying the rim with the cleaner, I wipe it down with a clean rag. Finally any residue from the cleaner needs to be removed, which is accomplished by spraying the rim with isopropyl alcohol, and wiping it down again. Sometimes it takes a second cycle of alcohol-and-wipe to eliminate squealing.