Only the North Tower (1 WTC) had a direct connection to the hotel, but like spidey said the connection was on the mall concourse level, underneath the plaza. You could access the South Tower via the North Tower and the mall.
Here is a map of the concourse level showing the connection.
Here is a simpler map with green arrows showing the entry points for the buildings on the concourse level.