Is dangerous for a women with hypertension to get pregnant?

No. If your hypertension is well controlled, it isn't terribly dangerous to get pregnant. You should see your Ob for a pre-conception visit to make sure the blood pressure medications you are on are ok for pregnancy. You will have a higher risk for some complications of pregnancy such as pre-eclampsia but these can be managed in a way that keeps both you and the baby safe. Best wishes!
If not treated yes. is dangerous , if treated and carefully monitored risk will be minimized , must go for prenatal care , reduce weight ,salt intake follow your OB doctors advise , you will be fine .