Transition to chaos in an oscillating surface reaction