How should DC motor brush capacitors be sized?
They are for EMC - noise suppression, interference with radio transmissions.
0.1uF disc ceramics are commonly used, in a triangle (delta) - one from each brush to GND (the can) and one between the two brushes.
Should have essentially no effect on PWM.