They are two ways to write in Pinyin : using the tone number (e.g. Zhong1wen2) or using the virtual keyboard.