Thank you for your question. Every person is free to choose the religion they would like to follow, however, it is natural that parents will have an influence in the decision of their children and this is why many children choose the religion that their parents adhere to. At the same time it is important for parents to teach their children to follow what is right and so Islam is against hereditary conditioning. But if the parents are able to effectively communicate the beliefs, ideals and ethics of Islam to their children then that is a great bounty of guidance for the children and the children can then develop those understandings for future generations, choosing to follow Islam with the education that their parents gave them from their own life experience.
May you always be successful.