"Pursuing my masters" is a very elegant way of expressing this thought. You will hear "doing my masters" frequently in conversation, but I consider it to be much more casual than "pursuing...." If you are writing, I would definitely use "pursuing my masters."