Cloth pads and peroxide

Is it safe to use hydrogen peroxide to remove stains from cloth pads? If it is, how do you use it? I was planing on spraying some on them before washing them (I take mine into the shower and wash them in there)