Start with using your knees as a pivot instead of your feet. Then work up the count while keeping the form. It shouldn't take too long (maybe a month) if you keep it steady and soon enough you'll be doing normal push ups (starting back at a low count). You'll be surprised how quickly you can go from 5 to 10, 15, 25, 50 push ups simply by accepting your daily limits and doing them again nonetheless.