A creditor can ask about the number and ages of your dependents. They can also ask about dependent-related financial obligations or expenses. However, a creditor can do this only if they ask for this information without regard to sex or marital status (or any other prohibited basis).
A creditor cannot ask you about your birth control practices. A creditor also cannot ask about your intentions to have or raise children or about your capability to have children.