It sounds to me that you probably need to take your bike and get it fitted to you- probably either the seat is too low, seat too high, or something is wrong in your position or the cleats. Maybe Knotted Yet will chime in with what it's most likely to be given the location of your pain.

If you're lucky enough to have a physical therapist around you that does bike fitting like KNotted Yet...