Two up front and twelve in the rear. However, the small chainring/small cog combination is always locked out to avoid chain rasp against the inside of the large chainring when using a front derailleur. This brings the total gear selections available to 23.
When attempting to shift into the small chainring/small cog combination, the rear derailleur LED will alternate green and red flashes to indicate a rejected shift. This is normal.