What can cause me to have pain on both calves upon dorsiflexion of my feet?

A tight posterior. Muscle group can cause pain when dorsiflexing, as you are stretching the muscles that are tight. (if it is one side, I would be concerned for a clot, but this is less common if the presentation is bilateral.).