masturbation while pregnant ?

If you are pregnant, is it okay to masturbate?