Re: keep You would use sentence 1 (the simple past) if the waiting ended some time ago.
I'm sorry I kept you waiting yesterday. I'll be more prompt today.
You would use sentence 2 (the past perfect) if the waiting is relevant to the immediate present.
I'm sorry I have kept you waiting. I'm ready now.
I'm sorry I have kept you waiting. I'll be ready in five minutes. |