Keeping text centered during a transition
Although you can reposition the anchor point with the Pan Behind tool (Y),



an easier way to center it is in the menu. 

Layer->Transform->Center Anchor Point in Layer Content. 

I agree with the other posts here: It's important to set the correct alignment and placing of a layer before you keyframe anything.