Someone asked me this and I didn't have an answer: What are good carbs?

As cyclists we need to eat carbs to fuel our bodies, but too much and carbs turn to fat; too little and we bonk. So, what is the best carbs to eat and how many?! THANKS!