Police detain two people they say were planning to carry out a "terror attack" in the capital, Nairobi.