Any time you have an area in your resume that you perceive to be weak, it makes sense to emphasize your stronger areas - and also show that you are capable of overcoming your weaknesses. Sometimes, this requires a careful refocusing of your resume and your question-answering technique, versus just writing a literal resume showing your work experience or giving simple answers to questions.
While technical skills are important in IT, and it's valuable to show that you have up to the minute experience with specific technologies or tools, employers are also looking for more generic, softer skills. They're also generally looking for people who can follow directions, accomplish tasks, handle exceptions appropriately, and who know how to follow rules or processes versus winging everything.
Since you're concerned about a two year gap indicating that you are out of date technically, it may make sense to emphasize those soft skills in your resume. If you have a paragraph or summary at the top, that's a good place to do so. Also, when you list your past jobs, make sure you show how you did these things, versus just listing bland job duties or acronyms. Some employers may not pick up on this and may pass over you, but that's okay - employers with a narrow focus on specific up to the minute technologies are probably not your ideal employer anyways.
Secondly, make sure you emphasize your ability to learn and adapt to new technologies. If a candidate doesn't have a specific recent skill set, but they can show that they've regularly picked up new skill sets and have been able to effectively use them, that is a strong advantage. Ultimately, employers who are always focused on the shiny new thing really need people who can learn - not people who know what's shiny and new right now (because in 6 months they'll be focused on whatever replaces it anyways).
Further, as an option, consider targeting employers who need the skills you currently have, even if you think they are out of date. A big fallacy among people new to IT is the assumption that every employer always wants the newest and only cares about "current" technology. In reality, a large portion of the IT landscape is "old" and "outdated" at any point in time. You may find that there are a lot of employers who are specifically looking for your years-out-of-date skills. My current employer and several before it were all running their core systems on technology that was decades old, and it was a huge struggle to fill many positions, because the majority of candidates emphasized "current" technology.
So, don't rule out the potential that you may already have highly desirable skills - at the end of the day, finding a job is a balance of advertising yourself accurately and appropriately, but also making sure you're looking for opportunities that are actually a good fit for you.