Rob Keogh posted his maiden double century for Northamptonshire before Jimmy Adams led a determined Hampshire reply on day two at the Ageas Bowl.