Two people have been arrested in the US over an alleged plot to assassinate presidential hopeful Barack Obama.