Peter emphasizes repentance for the forgiveness of sins...not baptism. The Greek is clear in Acts 2.
Again...
What St. Peter said ---> "Repent, and each of you
be baptized in the name of Jesus Christ for the forgiveness of your sins;
and you will receive the gift of the Holy Spirit. For
the promise is for you and your children and for all who are far off, as many as the Lord our God will call to Himself." (Acts 2:38-39)
What St. Peter DID NOT SAY ---> "Repent and then you will receive the gift of the Holy Spirit. You can then be baptized, but being baptized is not for the remission of your sins. Oh and this promise is for you, but NOT your children." (Protestantism)
This isn't rocket surgery...
1. Be baptized in the name of Jesus Christ (as opposed to baptism of John which the Jews knew --> See Luke 3:3 and remember Luke wrote Acts)
2. Your sins will be forgiven
3. You will receive the Holy Spirit
4. This promise includes your children
Christianity 101.