I'll take these questions:
Is the pass covering the regional train between the 5 villages in
Cinque terre?
As advised above, do not buy a pass. Buy point-to-point between Venice and La Spezia and La Spezia and Florence on Trenitalia or Captaintrain websites or when you arrive in Italy. For the Cinque Terre, there are one and two-day passes which cover use of the trails and the regionale train/buses in the region between La Spezia and Levanto. You can read about the cards here:
http://www.parconazionale5terre.it/Ecinque-terre-card.php
I didn't use to recommend these as you would have had to have used the trains a lot to break even but now that individual tickets prices have gone up (4 euro per single) it's a little better deal. You can buy them at the station in La Spezia. You must validate your pass before boarding your first train: very important.
i am planning to do the cinque terre hike.
There are many trails within the park so there's no single 'Cinque Terre hike.' Reference "Paths and Outdoor" under the "Visit the Park" dropdown:
http://www.parconazionale5terre.it/Eindex.php
If you mean the Sentiero Azzurro - or Blue Trail - that hugs the lower coast between Riomaggiore and Monterosso, be aware that two for four segments of that trail are closed so the only two you can do are between Monterosso and Vernazza, and Vernazza and Corniglia. You'll have to cover the space between Riomaggiore, Manarola and Corniglia via train, boat (Riomaggiore and Manarola only) or longer, alternate trails (reference the map on the website.)