There is usualy buttons on the Mic area of the Headphones, they may be touch sensitive instead of actual buttons
If you have the Noise Cancelling headphones i cant help you because The Model Of Xperia Z2 i have access to didnt come with headphones at all