Use defaultValue
property:
<text
jcr:primaryType="cq:Widget"
fieldLabel="label"
name="./text"
maxLength="150"
xtype="textfield"
defaultValue="This text has to be displayed in the input field" />
More info can be found on the CQ5 Widgets API documentation.