They are two ways to write in pinyin : using the tone number (ex: Zhong1wen2) or using the virtual keyboard.