Coleraine moved up to fifth in the Danske Bank Premiership after a 2-0 success against Ballymena United at The Showgrounds.