Triple press the space button to write a question mark... Similar to the stock iOS feature where a double space bar press would insert a full stop.
Works with the default keyboard.
Configure its preferences from the settings. Enabling "Intelligent Mode"
Demo: http://youtu.be/jV7f-29ujrI