You can ride pretty much anything on a 2 mile commute. With the hilliness, you'd definitely want something with multiple gears...probably a triple crankset up front, with an 11-32 set in the back.
Talk to a bike shop. Entry-level hybrid shouldn't cost you more than $500 and it will let you find out if bike commuting is for you.