Lancashire captain Steven Croft hit his first century in over a year to help Lancashire recover from a flurry of pre-lunch wickets on day two of their Specsavers County Championship match against Surrey