All you need is an XML document with relevant commands and meta data in your web app like this:
<meta name="msapplication-cortanavcd" content="http:// contoso.com/vcd.xml"/>
see: http://microsoftedge.github.io/WebAppsDocs/en-US/win10/HWAfeatures.htm#integrate-cortana-voice-commands