fitness and pregnancy

is it okay to continue to work out early in a pregnancy? will it cause a miscarriage?