Hello,
You need to use this code on event you need. For example on "button click", or "page show".
pre
//Where "firstInput" is your first goal input name.
Apperyio("firstInput").val("");
//Where "secondInput" is your first goal input name.
Apperyio("secondInput").val("");
....
/pre
Also you can check this code in browser console. Just copy it and past into console and then run this code.
Regards.