Breastpump

Am i allowed to breast pump at work? If so, how often? And also what if there is no place to breast pump other than bathroom, is that okay?

Last question, am i supposed to clock out/in everytime i breastpump?