Try to keep your hips as far back as possible. The general rule I've tried to use is to let the nose of the saddle just barely brush the back of my thighs once every few pedal strokes. Granted, this approach goes away when climbing 'very' steep patches. However for most moderate inclines, this method helps keep the BB more 'out in front' and allows you to still use your hamstrings to pull the pedal through the bottom.
Mike in AR