Two shot dead outside courthouse