The primary mode of transport to Hogwarts is the Hogwarts Express that students take at the start of each school year.
From there, first-year students are accompanied by the "Keeper of the Keys, Game and Grounds" (which was Hagrid during the first novel) to small boats, which magically sail across the lake and get them near the entrance of Hogwarts.