is this legal?

Two of our managers at my service industry job have been taking a portion of our tips for themselves. Most of us have been concerned if this should be happening and what exactly we should do going about it. They take a portion of our cash tips and our credit card tips and often receive more than us.