Indeed, nothing special needs to be done with regards to defining your page. You only need to access the arguments as shown by Kalpesh.
Additionally, you can also use the Spring Surf model objects for pages / template instances and pass URL arguments via the <properties> or <url> element in the component binding section. Unfortunately, the documentation no longer covers this as the "traditional way to define Surf pages" is no longe recommended (Aikau is the default). You can still see that approach in Alfresco code though. All arguments passed in such a way are accessible using the root scope "args" / "argsM" object instead of the page.url.args, which might make your web script code more independant from knowing / accessing any page context data.