In order to dive in Anilao the best option is to visit one of the dive shops in Manila. They organize trips to Anilao, the minimum stay is one night.
If you want to go on your own, you can take a Jeepney to Batangas City, get off at Mabini, and from there take a jeepney to Mabini dock.