You pop bubbles to get extra points. The number in a bubble denotes the number of points you get for popping it. To get more bubbles (and therefore more extra points) you need to boost the multiplier (the number written at the end of your points bar). The faster you match tiles, the bigger the multiplier gets.