None of them had been as yet baptized with the Holy Spirit—yet they already were baptized with water. Since they had not been baptized with the Holy Spirit, obviously they had been baptized in water.
Water baptism is a required condition to receiving the Holy Spirit. At Samaria, and again at Ephesus, they did not receive the Holy Spirit until after they were baptized in water.