Dehydration means (removal of water molecule) and in this case a double bond is formed by removal of H and OH from two vicinal (neighboring) carbons, this occurs by protonation then lose of water molecule then lose of H⁺ (we have to add H⁺ from acid at the beginning due to OH⁻ is bad leaving group)
Check the attached picture: