At each step there are five ways to choose one button and there are $\displaystyle \binom{5}{2}=10$ ways to choose two buttoms.