how to move vertex groups in animation
There does not seem to be any advantage in having vertex groups for something like this. Vertex groups are helpful for isolating selections and eventually for forms of deformations which you will discover along the way.

For now you might use the vertex groups to select and then create separate objects - the  P  key ... 


...that you then can keyframe with the  I  key.