A funeral procession has been held for two Supreme Court judges assassinated in a terrorist attack on Saturday.