Since the status has remained unchanged for the past two months, I think you can write to the editor inquiring about the status of your paper. I don’t think the editor will feel that you are being too pushy; most editors understand the kind of anxiety that authors go through. However, make sure that you maintain a polite and courteous tone throughout the email.
Here is a template that you can use to inquire about the current status of your paper:
Dear Mr./Ms. XXX [Editor's Name],
I have submitted my revised manuscript titled XXXX [manuscript id: xxxx] to your journal via the online submission system on dd/mm/yyyy [date of submission]. Two days later, the status changed to ‘with editor.’ However, the status has remained unchanged ever since.
I would be grateful if you could let me know whether there has been any further progress on my submission.
XXXX [Your name and contact details]