use page custom args in a plugin

I need to use page custom args in a plugin I develop.
For instance:
http://www.mywpsite.com/mypage/mysubpage?myParm1=value1&myParm2=value2
and in my plugin, i have to do things based on 'value1' and 'value2'.
How can I do this?