It doesn't say that in Acts 2. That is pure conjecture on your part.
I understand that you have been taught that "repent and be baptized" is "how to become a Christian", as that is the Catholic Cult's idea, that they define as "Baptismal Regeneration".
Their Satanic Bible, the "Douay Rheims" in JOHN 3, is where this hellish lie is found that tries to connect Acts 2, as "water washes away your sin"..
Their Satanic Bible teaches that you are "Born again BY water"..... "BY.. water", and in fact you are not...Noone is born again BY Water.
See you can be water baptized 345 times and die and go to Hell, or a Believer can be born again, and never water baptized and they are already, "in Christ" "one with God", "seated in Heavenly Places".
Why?
Because Jesus said.>"You must be born again" and that is not talking about getting dunked, sprinkled, or submerged in the city water supply.