This is a decent template for 2D Unity games.  It has touch and mouse controls, with a dpad for touch.