Hyphenate compound modifier. 

It's a single adjective: the compound word "two-way" (as opposed to two adjectives: "two" and "way").