welcome to HealthcareMagic
The main criteria to get pregnant are :-
-normal and regular periods
-proper ovulation and rupture of follicle to release the egg
-normal and patent fallopian tubes where the pregnancy
-normal semen analysis
of your husband
If all these things are normal then you can get pregnant.Since it has been 2 yrs and you do not have a baby please consult a Gynaecologist and get investigated to find the reason and she will give the treatment to make periods regular;for induction of proper ovulation.