Police say the men may have been planning bomb attacks .